package com.smartfactory.sail.vo.storage;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 王巨壁
 * @title: UpdateMaterialInfoReq
 * @projectName smart-sail
 * @description: 修改库存设置
 * @date 2019/8/2517:12
 */
@Data
public class UpdateMaterialInfoReq {

    @ApiModelProperty("原料id")
    @NotNull
    private Long itemId;

    @ApiModelProperty(value = "库存上限")
    @TableField("upperLimit")
    private Integer upperLimit;

    @ApiModelProperty(value = "领取上限")
    @TableField("receiveUpperLimit")
    private Integer receiveUpperLimit;

    @ApiModelProperty(value = "库存下限")
    @TableField("lowerLimit")
    private Integer lowerLimit;
}
